import { useState } from "react";
import { Button } from "antd";
import styles from "./style.module.less";
const App = () => {
  const [count, setCount] = useState<number>(0);
  const handleClick = () => {
    setCount(count + 1);
  };
  return (
    <>
      <Button onClick={handleClick} className={styles.button}>
        count is {count}
      </Button>
    </>
  );
};

export default App;
